package Quiz;

import java.util.ArrayList;
import Animalmanagement.AnimalManagement;

public class AddQuiz {

	ArrayList<Quiz> QuizList = new ArrayList<Quiz>();
	AnimalManagement animalmanage;
	Quiz q1, q2, q3, q4, q5, q6, q7, q8, q9;

	public AddQuiz(AnimalManagement am) {
		animalmanage = am;

		q1 = new Quiz("Question1", new String[] { "Koala", "Iguana", "Crow" },
				2, animalmanage.SearchingAnimal("crow"));
		q2 = new Quiz("Question2",
				new String[] { "Leopard", "Giraffe", "Lion" }, 2,
				animalmanage.SearchingAnimal("lion"));
		q3 = new Quiz("Question3", new String[] { "Penguin", "Tiger", "Mole" },
				1, animalmanage.SearchingAnimal("tiger"));
		q4 = new Quiz("Question4", new String[] { "Furseal", "Monkey",
				"Ostrich" }, 0, animalmanage.SearchingAnimal("furseal"));
		q5 = new Quiz("Question5",
				new String[] { "Frog", "Elephant", "Monkey" }, 2,
				animalmanage.SearchingAnimal("baboon"));
		q6 = new Quiz("Question6", new String[] { "Crocodile", "Stork",
				"Babbon" }, 0, animalmanage.SearchingAnimal("crocodile"));
		q7 = new Quiz("Question7", new String[] { "Elephant", "Penguin",
				"Oranutan" }, 0, animalmanage.SearchingAnimal("elephant"));
		q8 = new Quiz("Question8",
				new String[] { "Frog", "Wildboar", "Impala" }, 1,
				animalmanage.SearchingAnimal("wildboar"));

		QuizList.add(q1);
		QuizList.add(q2);
		QuizList.add(q3);
		QuizList.add(q4);
		QuizList.add(q5);
		QuizList.add(q6);
		QuizList.add(q7);
		QuizList.add(q8);
	}

	public ArrayList<Quiz> getQuizList() {
		return QuizList;
	}

	public void setQuizList(ArrayList<Quiz> quizList) {
		QuizList = quizList;
	}

}
